import React from 'react'
import './index.css'

/** 环 */
export default function Annulus(props) {
    return (
        <div
            id={props.id}
            className='annulus'
            style={{ backgroundColor: props.color, width: props.name * 50 }}
        >
            {props.name}
        </div>
    )
}
